From 7074b13cee246f09b3b0a2a6da139b2e047cf4a4 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 18 Jun 2008 09:35:06 +0100 Subject: [PATCH] minios: fix declaration after code Signed-off-by: Samuel Thibault --- extras/mini-os/include/wait.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/mini-os/include/wait.h b/extras/mini-os/include/wait.h index cbcaab3519..2947d33150 100644 --- a/extras/mini-os/include/wait.h +++ b/extras/mini-os/include/wait.h @@ -87,9 +87,9 @@ static inline void wake_up(struct wait_queue_head *head) #define wait_event_deadline(wq, condition, deadline) do { \ unsigned long flags; \ + DEFINE_WAIT(__wait); \ if(condition) \ break; \ - DEFINE_WAIT(__wait); \ for(;;) \ { \ /* protect the list */ \ -- 2.30.2